package com.fxp.project.jiuselu.web.models.userbank.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Jason.Wang
 * @since 2022-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class JslUserBankCardInfo implements Serializable {


    /**
     * 用户银行卡id
     */
    @TableId(value = "bank_card_id", type = IdType.AUTO)
    private Long bankCardId;

    /**
     * 银行卡号
     */
    @TableField("card_num")
    private String cardNum;

    /**
     * 银行名称
     */
    @TableField("bank_name")
    private String bankName;

    /**
     * 支行名称
     */
    @TableField("ban_sub_branch_name")
    private String banSubBranchName;

    /**
     * 持卡人姓名
     */
    @TableField("card_user_name")
    private String cardUserName;

    /**
     * 持卡人身份证号
     */
    @TableField("card_user_idcard")
    private String cardUserIdcard;

    /**
     * 持卡人手机号
     */
    @TableField("card_user_phone")
    private String cardUserPhone;

    /**
     * 0正常 1 禁用
     */
    private Integer status;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 用户金额
     */
    @TableField(exist = false)
    private BigDecimal userMoney;

}
